<?php
/**
 * Created by PhpStorm.
 * User: Admin
 * Date: 2017/06/23
 * Time: 12:37
 */

    namespace app\admin\controller;
    use think\Controller;


    class Songlist extends Controller
    {
        public function con()
        {
            return $this->fetch('songlist/category');
        }

//        public function sex()
//        {
////         $this->assign('title','1111');
////         return 1111111;
////            $this->redirect('songlist/category');
//            return $this->fetch('songlist/category');
//        }

        public function sex()
        {
            $name = [
                'id' => '1',
                'name' => 'aaa'
            ];
//            $name = '111';
            $this->assign('name',$name);
            return $this->fetch();
        }
        public function side()
        {
            return $this->fetch('songlist/list');
        }

        public function category()
        {
            return 111;
        }

    }